package com.project.service;

import com.project.bean.ProductBean;

import java.time.LocalDate;
import java.util.List;

public interface IProductService {
    void add(ProductBean productBean);
    void del(Integer id);
    void update(Integer id,Integer price);
    List<ProductBean> findAll();
    ProductBean findById(Integer id);

    List<ProductBean> findByItem(String name, LocalDate startDate,LocalDate endDate);
}
